package model

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ SatelliteModel = (*customSatelliteModel)(nil)

type (
	// SatelliteModel is an interface to be customized, add more methods here,
	// and implement the added methods in customSatelliteModel.
	SatelliteModel interface {
		satelliteModel
	}

	customSatelliteModel struct {
		*defaultSatelliteModel
	}
)

// NewSatelliteModel returns a model for the database table.
func NewSatelliteModel(conn sqlx.SqlConn) SatelliteModel {
	return &customSatelliteModel{
		defaultSatelliteModel: newSatelliteModel(conn),
	}
}
